class StockQuant {
  String? id;
  String? productId;
  String? locationId;
  String? locationName;
  String? locationCode;
  num? quantity;
  String? workshopId;
  String? workshopName;
  String? createUid;
  String? createDate;
  String? writeUid;
  String? writeDate;
  String? productorderno;
  String? batchno;
  String? productCode;
  String? productName;
  String? productDes;
  String? productUomId;
  String? productUomName;
  String? quantName;
  String? username;
  String? datas;
  num? proportion;
  String? warnQuant; // 安全库存数量
  String? stockStatus; // 安全库存状态
  String? saleorder; // 销售单号
  String? operator; // 操作人
  String? isPackaging; // 是否包装
  String? isWeigh; // 是否称重
  String? remark; // 备注
  String? huaweiTemplateId; // 模板
  String? weighDefault; // 称重预设值
  String? weighFloat; // 称重误差值
  num? weigh; // 重量
  String? internalPrintStatus; // 内标签是否打印
  String? exteriorPrintStatus; // 外标签是否打印
  String? isOpen; // 是否开箱
  String? huaweiCheckId; // 主表id
  String? isHuaweiDone; // 是否华为完成
//  操作人:operator
//  数量:quantity
//  生产单号:productorderno
//  是否包装:is_packaging
//  是否称重:is_weigh
//  是否是华为产品:is_huawei
//  备注:remark
//  内标签是否打印:internal_print_status
//  外标签是否打印:exterior_print_status
//  称重预设值:weigh_default
//  称重误差值:weigh_float
  String? unitPrice;
  String? priceQuantity;
  String? price;
  String? shelvesId; // 库位
  String? shelvesName; // 库位
  String? shelvesCode; // 库位

  StockQuant({
    this.id,
    this.productId,
    this.locationId,
    this.locationName,
    this.locationCode,
    this.quantity,
    this.workshopId,
    this.workshopName,
    this.createUid,
    this.createDate,
    this.writeUid,
    this.writeDate,
    this.productorderno,
    this.batchno,
    this.productCode,
    this.productDes,
    this.productName,
    this.productUomId,
    this.productUomName,
    this.quantName,
    this.username,
    this.datas,
    this.proportion,
    this.warnQuant,
    this.stockStatus,
    this.saleorder,
    this.operator,
    this.isPackaging,
    this.isWeigh,
    this.remark,
    this.weighDefault,
    this.weighFloat,
    this.weigh,
    this.internalPrintStatus,
    this.exteriorPrintStatus,
    this.isOpen,
    this.huaweiCheckId,
    this.isHuaweiDone,
    this.unitPrice,
    this.priceQuantity,
    this.price,
    this.shelvesId,
    this.shelvesCode,
    this.shelvesName,
  });

  StockQuant copyWith({
    String? id,
    String? productId,
    String? locationId,
    num? quantity,
    String? workshopId,
    String? createUid,
    String? createDate,
    String? writeUid,
    String? writeDate,
    String? productorderno,
    String? batchno,
  }) {
    return new StockQuant(
      id: id ?? this.id,
      productId: productId ?? this.productId,
      locationId: locationId ?? this.locationId,
      quantity: quantity ?? this.quantity,
      workshopId: workshopId ?? this.workshopId,
      createUid: createUid ?? this.createUid,
      createDate: createDate ?? this.createDate,
      writeUid: writeUid ?? this.writeUid,
      writeDate: writeDate ?? this.writeDate,
      productorderno: productorderno ?? this.productorderno,
      batchno: batchno ?? this.batchno,
    );
  }

  @override
  String toString() {
    return '''StockQuant{
      id: id,
      productId: productId,
      locationId: locationId,
      quantity: quantity,
      workshopId: workshopId,
      createUid: createUid,
      createDate: createDate,
      writeUid: writeUid,
      writeDate: writeDate,
      productorderno: productorderno,
      batchno: batchno,
    }''';
  }

  @override
  bool operator ==(Object other) =>
      identical(this, other) ||
      (other is StockQuant &&
          runtimeType == other.runtimeType &&
          id == other.id &&
          productId == other.productId &&
          locationId == other.locationId &&
          quantity == other.quantity &&
          workshopId == other.workshopId &&
          createUid == other.createUid &&
          createDate == other.createDate &&
          writeUid == other.writeUid &&
          writeDate == other.writeDate &&
          productorderno == other.productorderno &&
          batchno == other.batchno);

  factory StockQuant.fromMapG(Map<String, dynamic> map) {
    return new StockQuant(
      productName:
          map['name'] != false ? map['name'].toString() as String? : "",
      productDes: map['description'] != false
          ? map['description'].toString() as String?
          : "",
      priceQuantity:
          map['quantity'] != false ? map['quantity'].toString() as String? : "",
      unitPrice: map['unit_price'] != false
          ? map['unit_price'].toString() as String?
          : "",
      price: map['price'] != false ? map['price'].toString() as String? : "",
    );
  }

  factory StockQuant.fromMap(Map<String, dynamic> map) {
    return new StockQuant(
      id: map['id'] != false ? map['id'].toString() as String? : "",
      locationId: map['location_id'] != false
          ? map['location_id'][0].toString() as String?
          : "",
      locationName: map['location_id'] != false
          ? map['location_id'][1].toString() as String?
          : "",
      locationCode: map['location_code'] != false
          ? map['location_code'].toString() as String?
          : "",
      quantity: map['quantity'] != false ? map['quantity'] : "",
      workshopId: map['workshop_id'] != false
          ? map['workshop_id'].toString() as String?
          : "",
      createUid: map['create_uid'] != false
          ? map['create_uid'][0].toString() as String?
          : "",
      username: map['create_uid'] != false
          ? map['create_uid'][1].toString() as String?
          : "",
      createDate: map['create_date'] != false
          ? map['create_date'].toString() as String?
          : "",
      writeUid: map['write_uid'] != false
          ? map['write_uid'].toString() as String?
          : "",
      writeDate: map['write_date'] != false
          ? map['write_date'].toString() as String?
          : "",
      productorderno: map['productorderno'] != false
          ? map['productorderno'].toString() as String?
          : "",
      batchno:
          map['batchno'] != false ? map['batchno'].toString() as String? : "",
      productId: map['product_tmpl_id'] != false
          ? map['product_tmpl_id'][0].toString() as String?
          : "",
      productCode: map['default_code'] != false
          ? map['default_code'].toString() as String?
          : "",
      productName: map['product_name'] != false
          ? map['product_name'].toString() as String?
          : "",
      productDes: map['description'] != false
          ? map['description'].toString() as String?
          : "",
      productUomId: map['product_uom_id'] != false
          ? map['product_uom_id'][0].toString() as String?
          : "",
      productUomName: map['product_uom_id'] != false
          ? map['product_uom_id'][1].toString() as String?
          : "",
      warnQuant: map['warn_quant'] != false
          ? map['warn_quant'].toString() as String?
          : "",
      stockStatus: map['stock_status'] != false
          ? map['stock_status'].toString() as String?
          : "",
    );
  }

  factory StockQuant.fromMap2(Map<String, dynamic> map) {
    return new StockQuant(
      id: map['id'] != false ? map['id'].toString() as String? : "",
      locationId: map['location_id'] != false
          ? map['location_id'][0].toString() as String?
          : "",
      locationName: map['location_id'] != false
          ? map['location_id'][1].toString() as String?
          : "",
      quantity: map['quantity'] != false ? map['quantity'] : "",
      workshopId: map['workshop_id'] != false
          ? map['workshop_id'].toString() as String?
          : "",
      createUid: map['create_uid'] != false
          ? map['create_uid'][0].toString() as String?
          : "",
      username: map['create_uid'] != false
          ? map['create_uid'][1].toString() as String?
          : "",
      createDate: map['create_date'] != false
          ? map['create_date'].toString() as String?
          : "",
      writeUid: map['write_uid'] != false
          ? map['write_uid'].toString() as String?
          : "",
      writeDate: map['write_date'] != false
          ? map['write_date'].toString() as String?
          : "",
      productorderno: map['productorderno'] != false
          ? map['productorderno'].toString() as String?
          : "",
      batchno:
          map['batchno'] != false ? map['batchno'].toString() as String? : "",
      productCode: map["product_tmpl_id"]["default_code"] != false
          ? map["product_tmpl_id"]["default_code"].toString() as String?
          : "",
      productName: map["product_tmpl_id"]['name'] != false
          ? map["product_tmpl_id"]['name'].toString() as String?
          : "",
      productDes: map["product_tmpl_id"]['description'] != false
          ? map["product_tmpl_id"]['description'].toString() as String?
          : "",
      productUomName: map['product_uom_id'] != false
          ? map['product_uom_id'][1].toString() as String?
          : "",
      proportion: map['proportion'] != false ? map['proportion'] : 0,
    );
  }

  factory StockQuant.fromLocationOutMap(Map<String, dynamic> map) {
    return new StockQuant(
      id: map['id'] != false ? map['id'].toString() as String? : "",
      locationId: map['location_id'] != false
          ? map['location_id'][0].toString() as String?
          : "",
      locationName: map['location_id'] != false
          ? map['location_id'][1].toString() as String?
          : "",
      locationCode: map['location_code'] != false
          ? map['location_code'].toString() as String?
          : "",
      quantity: map['quantity'] != false ? map['quantity'] : "",
      // workshopId: map['workshop_id'] != false
      //     ? map['workshop_id'][0].toString() as String?
      //     : "",
      // workshopName: map['workshop_id'] != false
      //     ? map['workshop_id'][1].toString() as String?
      //     : "",
      createUid: map['create_uid'] != false
          ? map['create_uid'][0].toString() as String?
          : "",
      username: map['create_uid'] != false
          ? map['create_uid'][1].toString() as String?
          : "",
      createDate: map['create_date'] != false
          ? map['create_date'].toString() as String?
          : "",
      writeUid: map['write_uid'] != false
          ? map['write_uid'].toString() as String?
          : "",
      writeDate: map['write_date'] != false
          ? map['write_date'].toString() as String?
          : "",
      productorderno: map['productorderno'] != false
          ? map['productorderno'].toString() as String?
          : "",
      batchno:
          map['batchno'] != false ? map['batchno'].toString() as String? : "",
      productId: map['product_id'] != false
          ? map['product_id'][0].toString() as String?
          : "",
      productCode: map['product_default_code'] != false
          ? map['product_default_code'].toString() as String?
          : "",
      productName: map['product_name'] != false
          ? map['product_name'].toString() as String?
          : "",
      productDes: map['product_desc'] != false
          ? map['product_desc'].toString() as String?
          : "",
      productUomId: map['product_uom_id'] != false
          ? map['product_uom_id'][0].toString() as String?
          : "",
      productUomName: map['product_uom_id'] != false
          ? map['product_uom_id'][1].toString() as String?
          : "",
      shelvesId: map['shelves_data'].length != 0
          ? map['shelves_data'][0].toString() as String?
          : "",
      shelvesName: map['shelves_data'].length != 0
          ? map['shelves_data'][1].toString() as String?
          : "",
      shelvesCode: map['shelves_code'] != false
          ? map['shelves_code'].toString() as String?
          : "",
      // warnQuant: map['warn_quant'] != false
      //     ? map['warn_quant'].toString() as String?
      //     : "",
      // stockStatus: map['stock_status'] != false
      //     ? map['stock_status'].toString() as String?
      //     : "",
    );
  }

  factory StockQuant.fromHWMap(Map<String, dynamic> map) {
    return new StockQuant(
      id: map['id'] != false ? map['id'].toString() as String? : "",
      locationId: map['location_id'] != false
          ? map['location_id'][0].toString() as String?
          : '',
      locationName: map['location_id'] != false
          ? map['location_id'][1].toString() as String?
          : '',
      saleorder: map['saleorder'] != false
          ? map['saleorder'].toString() as String?
          : "",
      quantity: map['quantity'] != false ? map['quantity'] : "",
      createUid: map['create_uid'] != false
          ? map['create_uid'][0].toString() as String?
          : "",
      username: map['create_uid'] != false
          ? map['create_uid'][1].toString() as String?
          : "",
      productorderno: map['productorderno'] != false
          ? map['productorderno'].toString() as String?
          : "",
      productCode: map['default_code'] != false && map['default_code'] != null
          ? map['default_code'].toString() as String?
          : "",
      productName: map['product_name'] != false && map['product_name'] != null
          ? map['product_name'].toString() as String?
          : "",
      productDes: map['spec'] != false && map['spec'] != null
          ? map['spec'].toString() as String?
          : "",
      productUomName: map['uom_name'] != false && map['uom_name'] != null
          ? map['uom_name'].toString() as String?
          : "",
      isPackaging: map['is_packaging'] != false && map['is_packaging'] != null
          ? map['is_packaging'].toString() as String?
          : "",
      isWeigh: map['is_weigh'] != false && map['is_weigh'] != null
          ? map['is_weigh'].toString() as String?
          : "",
      isOpen: map['is_open'] != false && map['is_open'] != null
          ? map['is_open'].toString() as String?
          : "",
      weighDefault:
          map['weigh_default'] != false && map['weigh_default'] != null
              ? map['weigh_default'].toString() as String?
              : "",
      weighFloat: map['weigh_float'] != false && map['weigh_float'] != null
          ? map['weigh_float'].toString() as String?
          : "",
      weigh: map['weigh'] != false && map['weigh'] != null
          ? num.parse(map['weigh'])
          : 0,
      internalPrintStatus: map['internal_print_status'] != false
          ? map['internal_print_status'].toString() as String?
          : "",
      exteriorPrintStatus: map['exterior_print_status'] != false
          ? map['exterior_print_status'].toString() as String?
          : "",
    );
  }

  // factory StockQuant.fromHWSearchMap(Map<String, dynamic> map) {
  //   return new StockQuant(
  //     id: map['id'] != false ? map['id'].toString() as String? : "",
  //     saleorder: map['saleorder'] != false
  //         ? map['saleorder'].toString() as String?
  //         : "",
  //     locationName: map['location_name']!=false
  //         ? map['location_name'].toString() as String?
  //         : "",
  //     quantity:
  //     map['quantity'] != false ? map['quantity']: "",
  //     productorderno: map['productorderno'] != false
  //         ? map['productorderno'].toString() as String?
  //         : "",
  //     productCode: map['default_code'] != false
  //         ? map['default_code'].toString() as String?
  //         : "",
  //     productName: map['product_name'] != false
  //         ? map['product_name'].toString() as String?
  //         : "",
  //     productDes: map['spec'] != false
  //         ? map['spec'].toString() as String?
  //         : "",
  //     productUomName: map['uom_name'] != false
  //         ? map['uom_name'].toString() as String?
  //         : "",
  //     isOpen: map['is_open'] != false
  //         ? map['is_open'].toString() as String?
  //         : "",
  //   );
  // }

  Map<String, dynamic> toMap() {
    // ignore: unnecessary_cast
    return {
      'id': this.id,
      'productId': this.productId,
      'locationId': this.locationId,
      'locationCode': this.locationCode,
      'locationName': this.locationName,
      'quantity': this.quantity.toString(),
      'workshopId': this.workshopId,
      'createUid': this.createUid,
      'createDate': this.createDate,
      'writeUid': this.writeUid,
      'writeDate': this.writeDate,
      'productorderno': this.productorderno,
      'productCode': this.productCode,
      'productName': this.productName,
      'productDes': this.productDes,
      'batchno': this.batchno,
      'productUomName': this.productUomName,
    } as Map<String, dynamic>;
  }

  List toDomainList() {
    List list = [
      //['location_id', '=', 8],
      if (this.productName != null && this.productName != '')
        ['name', 'like', "%${this.productName}%"],
      if (this.productCode != null && this.productCode != '')
        ['product_code', 'like', "%${this.productCode}%"],
      if (this.locationId != null && this.locationId != '')
        ['location_id', '=', int.parse(this.locationId!)],
      if (this.productorderno != null && this.productorderno != '')
        ['plancode', 'like', "%${this.productorderno}%"],
      if (this.workshopId != null && this.workshopId != '')
        ['workshop_id', '=', int.parse(this.workshopId!)],
    ];

    // ignore: unnecessary_cast
    return list;
  }

  List toMoveOutcomingSearchDomainList() {
    List list = [
      //['location_id', '=', 8],
      if (this.productName != null && this.productName != '')
        ['product_tmpl_id.name', 'like', "%${this.productName}%"],
      if (this.productCode != null && this.productCode != '')
        ['product_tmpl_id.default_code', 'like', "%${this.productCode}%"],
      if (this.locationId != null && this.locationId != '')
        ['location_id', '=', int.parse(this.locationId!)],
      if (this.productorderno != null && this.productorderno != '')
        ['productorderno', '=', this.productorderno],
      // if (this.workshopId != null && this.workshopId != '')
      //   ['workshop_id', '=', int.parse(this.workshopId!)],
    ];

    // ignore: unnecessary_cast
    return list;
  }

  List toHWDomainList() {
    List list = [
      // ['is_huawei', '=', '1'],
      if (this.productName != null && this.productName != '')
        ['product_name', 'like', "%${this.productName}%"],
      if (this.productCode != null && this.productCode != '')
        ['default_code', 'like', this.productCode],
      if (this.saleorder != null && this.saleorder != '')
        ['saleorder', '=', saleorder],
      if (this.huaweiCheckId != null && this.huaweiCheckId != '')
        ['huawei_check_id', '=', int.parse(huaweiCheckId!)],
      if (this.isHuaweiDone != null && this.isHuaweiDone != '')
        ['is_huawei_done', '!=', isHuaweiDone],
      // if (this.locationId != null && this.productorderno != '')
      //   ['plancode', 'like', "%${this.productorderno}%"],
      // if (this.workshopId != null && this.workshopId != '')
      //   ['workshop_id', '=', int.parse(this.workshopId!)],
    ];
    // ignore: unnecessary_cast
    return list;
  }

  List toHWSearchDomainList() {
    List list = [
      ['is_huawei_done', '=', '1'],
      if (this.productorderno != null && this.productorderno != '')
        ['productorderno', '=', productorderno],
      if (this.productCode != null && this.productCode != '')
        ['default_code', '=', this.productCode],
      if (this.saleorder != null && this.saleorder != '')
        ['saleorder', '=', saleorder],
      if (this.locationId != null && this.locationId != '')
        ['location_id', '=', int.parse(this.locationId!)],
      // if(this.locationId == null || this.locationId == ''){
      //   ['location_id', '=', ''],
      // }
      // if (this.workshopId != null && this.workshopId != '')
      //   ['workshop_id', '=', int.parse(this.workshopId!)],
    ];
    // ignore: unnecessary_cast
    return list;
  }

  List toProductOdoData() {
    List list = [
      if (this.productName != null && this.productName != '')
        ['name', 'like', "%${this.productName}%"],
      if (this.locationId != null && this.locationId != '')
        ['location_id', '=', int.parse(this.locationId!)],
      if (this.productDes != null && this.productDes != '')
        ['ITEM', 'like', "%${this.productDes}%"],
      if (this.workshopId != null && this.workshopId != '')
        ['plant_id', '=', int.parse(this.workshopId!)],
    ];
    // ignore: unnecessary_cast
    return list;
  }

  List toShipTheProducts() {
    List list = [
      if (this.productName != null && this.productName != '')
        ['name', 'like', "%${this.productName}%"],
      if (this.locationId != null && this.locationId != '')
        ['location_id', '=', int.parse(this.locationId!)],
      if (this.productorderno != null && this.productorderno != '')
        ['productorderno', 'like', "%${this.productorderno}%"],
      if (this.workshopId != null && this.workshopId != '')
        ['plant_id', '=', int.parse(this.workshopId!)],
    ];
    // ignore: unnecessary_cast
    return list;
  }

  List toPrintList() {
    List list = [
      //['location_id', '=', 8],
      if (this.createDate != null && this.createDate != '')
        ['start', '=', this.createDate],
      if (this.writeDate != null && this.writeDate != '')
        ['end', '=', this.writeDate],
      if (this.productorderno != null && this.productorderno != '')
        ['product', '=', this.productorderno],
      if (this.productCode != null && this.productCode != '')
        ['code', '=', this.productCode],
      if (this.productName != null && this.productName != '')
        ['name', '=', this.productName],
    ] as List;

    // ignore: unnecessary_cast
    return list;
  }

  Map<String, dynamic> toOdooMap() {
    // ignore: unnecessary_cast
    return {
      'id': this.id,
      'product_id': this.productId,
      'location_id': this.locationId,
      'quantity': this.quantity,
      'workshop_id': this.workshopId,
      'create_uid': this.createUid,
      'create_date': this.createDate,
      'write_uid': this.writeUid,
      'write_date': this.writeDate,
      'productorderno': this.productorderno,
      'batchno': this.batchno,
    } as Map<String, dynamic>;
  }

  Map<String, dynamic> toHWOdooMap() {
    // ignore: unnecessary_cast
    return {
      // 'is_huawei':'1',
      // 'is_packaging': this.isPackaging,
      // 'is_weigh': this.isWeigh,
      'saleorder': this.saleorder,
      'productorderno': this.productorderno,
      'quantity': this.quantity,
      'default_code': this.productCode,
      'product_name': this.productName,
      'product_id': int.parse(this.productId!),
      'spec': this.productDes,
      'template_id': this.huaweiTemplateId,
      'uom_name': this.productUomName,
      'remark': this.remark,
      'exterior_print_status': this.exteriorPrintStatus,
      'internal_print_status': this.internalPrintStatus,
      'site_id': 1,
    } as Map<String, dynamic>;
  }

  factory StockQuant.fromMaptTransfer(Map<String, dynamic> map) {
    return new StockQuant(
      id: map['id'] != false ? map['id'].toString() as String? : "",
      locationId: map['location_id'] != false
          ? map['location_id'][0].toString() as String?
          : "",
      locationName: map['location_id'] != false
          ? map['location_id'][1].toString() as String?
          : "",
      quantity: map['quantity'] != false ? map['quantity'] : "",
      workshopId: map['workshop_id'] != false
          ? map['workshop_id'].toString() as String?
          : "",
      createUid: map['create_uid'] != false
          ? map['create_uid'][0].toString() as String?
          : "",
      username: map['create_uid'] != false
          ? map['create_uid'][1].toString() as String?
          : "",
      createDate: map['create_date'] != false
          ? map['create_date'].toString() as String?
          : "",
      writeUid: map['write_uid'] != false
          ? map['write_uid'].toString() as String?
          : "",
      writeDate: map['write_date'] != false
          ? map['write_date'].toString() as String?
          : "",
      productorderno: map['productorderno'] != false
          ? map['productorderno'].toString() as String?
          : "",
      batchno:
          map['batchno'] != false ? map['batchno'].toString() as String? : "",
      productId: map['product_id'] != false
          ? map['product_id'][0].toString() as String?
          : "",
      productCode: map['product_tmpl_id'] != false
          ? map['product_tmpl_id']['default_code'] != false
              ? map['product_tmpl_id']['default_code'].toString() as String?
              : ""
          : "",
      productName: map['product_tmpl_id'] != false
          ? map['product_tmpl_id']['name'].toString() as String?
          : "",
      productDes: map['product_tmpl_id'] != false
          ? map['product_tmpl_id']['description'] != false
              ? map['product_tmpl_id']['description'].toString() as String?
              : ""
          : "",
      productUomName: map['product_uom_id'] != false
          ? map['product_uom_id'][1].toString() as String?
          : "",
    );
  }

  factory StockQuant.fromMapPrint(Map<String, dynamic> map) {
    return new StockQuant(
      id: map['id'] != false ? map['id'].toString() as String? : "",
      quantity: map['product_qty'] != false ? map['product_qty'] : "",
      // createUid: map['create_uid'] != false
      //     ? map['create_uid'][0].toString() as String?
      //     : "",
      // username: map['create_uid'] != false
      //     ? map['create_uid'][1].toString() as String?
      //     : "",
      // createDate: map['create_date'] != false
      //     ? map['create_date'].toString() as String?
      //     : "",
      // writeUid: map['write_uid'] != false
      //     ? map['write_uid'].toString() as String?
      //     : "",
      // writeDate: map['write_date'] != false
      //     ? map['write_date'].toString() as String?
      //     : "",
      productorderno:
          map['name'] != false ? map['name'].toString() as String? : "",
      productCode: map['product_tmpl_id'] != false
          ? map['product_tmpl_id']['default_code'] != false
              ? map['product_tmpl_id']['default_code'].toString() as String?
              : ""
          : "",
      productName: map['product_tmpl_id'] != false
          ? map['product_tmpl_id']['name'].toString() as String?
          : "",
      productDes: map['product_tmpl_id'] != false
          ? map['product_tmpl_id']['description'] != false
              ? map['product_tmpl_id']['description'].toString() as String?
              : ""
          : "",
      productUomName: map['product_tmpl_id'] != false
          ? map['product_tmpl_id']['unit'] != false
              ? map['product_tmpl_id']['unit'].toString() as String?
              : ""
          : "",
      datas: map['date_planned_start'] != false
          ? map['date_planned_start'].toString() as String?
          : "",
    );
  }

//</editor-fold>
}
